import request from '@/utils/request'

// 查询抄表数据表列表
export function listMeterreadingdata(query) {
  return request({
    url: '/feeSettings/meterreadingdata/list',
    method: 'get',
    params: query
  })
}

// 查询抄表数据表详细
export function getMeterreadingdata(id) {
  return request({
    url: '/feeSettings/meterreadingdata/' + id,
    method: 'get'
  })
}

// 新增抄表数据表
export function addMeterreadingdata(data) {
  return request({
    url: '/feeSettings/meterreadingdata',
    method: 'post',
    data: data
  })
}

// 新增抄表数据表
export function addMeterreadingdatas(data) {
  return request({
    url: '/feeSettings/meterreadingdata/adds',
    method: 'post',
    data: data
  })
}

// 修改抄表数据表
export function updateMeterreadingdata(data) {
  return request({
    url: '/feeSettings/meterreadingdata',
    method: 'put',
    data: data
  })
}

// 删除抄表数据表
export function delMeterreadingdata(id) {
  return request({
    url: '/feeSettings/meterreadingdata/' + id,
    method: 'delete'
  })
}
